.class public Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/EditText;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/TextView;

.field private j:Landroid/widget/EditText;

.field private k:Lcom/waiqin365/lightapp/view/EditTextHasClear;

.field private l:Landroid/widget/TextView;

.field private m:Landroid/view/View;

.field private n:Landroid/widget/TextView;

.field private o:Lcom/waiqin365/lightapp/product/view/CountView;

.field private p:Landroid/view/View;

.field private q:Landroid/widget/LinearLayout;

.field private r:Landroid/widget/TextView;

.field private s:Lcom/waiqin365/base/db/jxccache/g;

.field private t:Z

.field private u:Ljava/util/List;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->t:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->f:Landroid/widget/EditText;

    return-object v0
.end method

.method private a(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->u:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    :goto_0
    return-object v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private a()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->d()V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->b()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;)Lcom/waiqin365/base/db/jxccache/g;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    return-object v0
.end method

.method private b()V
    .locals 12

    const/16 v11, 0x8

    const/4 v10, 0x4

    const-wide/16 v8, 0x0

    const/4 v7, 0x1

    const/4 v6, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->c:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f080693

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v3}, Lcom/waiqin365/base/db/jxccache/g;->j()Ljava/lang/Double;

    move-result-object v3

    invoke-static {v3, v8, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->d()I

    move-result v3

    invoke-static {v2, v3, v7}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->b:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->l()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->d:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f080045

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "\uff1a"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->k()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->k()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v11}, Landroid/widget/TextView;->setVisibility(I)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->f:Landroid/widget/EditText;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->f()Ljava/lang/Double;

    move-result-object v2

    invoke-static {v2, v8, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->d()I

    move-result v2

    invoke-static {v1, v2, v6}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->j:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->k:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->f()Ljava/lang/Double;

    move-result-object v2

    invoke-static {v2, v8, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->f()I

    move-result v2

    invoke-static {v1, v2, v6}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->m:Landroid/view/View;

    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->p:Landroid/view/View;

    invoke-virtual {v0, v11}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0, v6, v7}, Lcom/waiqin365/lightapp/product/view/CountView;->a(ZZ)V

    new-instance v0, Lcom/waiqin365/base/db/offlinedata/s;

    invoke-direct {v0}, Lcom/waiqin365/base/db/offlinedata/s;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->i()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/s;->c(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->i()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/s;->a(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/s;->b(Ljava/lang/String;)V

    const-wide/high16 v2, 0x3ff0000000000000L    # 1.0

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/s;->a(Ljava/lang/Double;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->k()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/s;->d(Ljava/lang/String;)V

    invoke-virtual {v0, v7}, Lcom/waiqin365/base/db/offlinedata/s;->a(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/view/CountView;->d()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->setUnit(Lcom/waiqin365/base/db/offlinedata/s;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->i()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v10}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->g:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->i:Landroid/widget/TextView;

    invoke-virtual {v0, v10}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->h:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->g:Landroid/widget/TextView;

    invoke-virtual {v1, v6}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->g:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->i:Landroid/widget/TextView;

    invoke-virtual {v1, v6}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->h:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1
.end method

.method private c()V
    .locals 4

    const/16 v3, 0x8

    const/high16 v2, 0x41700000    # 15.0f

    const v0, 0x7f0c0944

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->a:Landroid/widget/TextView;

    const v1, 0x7f080340

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c094b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    const v0, 0x7f0c0949

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    const v0, 0x7f0c08a5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->b:Landroid/widget/TextView;

    const v0, 0x7f0c08b9

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/EditTextHasClear;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->k:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    const v0, 0x7f0c04fe

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->c:Landroid/widget/TextView;

    const v0, 0x7f0c08bc

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->d:Landroid/widget/TextView;

    const v0, 0x7f0c08b6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->e:Landroid/widget/TextView;

    const v0, 0x7f0c08b7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->f:Landroid/widget/EditText;

    const v0, 0x7f0c056c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->g:Landroid/widget/TextView;

    const v0, 0x7f0c08ba

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->h:Landroid/widget/TextView;

    const v0, 0x7f0c08b8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->i:Landroid/widget/TextView;

    const v0, 0x7f0c08ab

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->l:Landroid/widget/TextView;

    const v0, 0x7f0c08bb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->j:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->e:Landroid/widget/TextView;

    const v1, 0x7f080660

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0697

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->m:Landroid/view/View;

    const v0, 0x7f0c01ee

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->n:Landroid/widget/TextView;

    const v0, 0x7f0c08ad

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/view/CountView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    const v0, 0x7f0c096b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->p:Landroid/view/View;

    const v0, 0x7f0c096d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->q:Landroid/widget/LinearLayout;

    const v0, 0x7f0c096c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->r:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->n:Landroid/widget/TextView;

    const-string/jumbo v1, "#808080"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->n:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->r:Landroid/widget/TextView;

    const-string/jumbo v1, "#808080"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->r:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/EditText;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v0

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->b()Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->b()Landroid/widget/TextView;

    move-result-object v0

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->e()V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;)Lcom/waiqin365/lightapp/view/EditTextHasClear;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->k:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    return-object v0
.end method

.method private d()V
    .locals 11

    const/4 v8, 0x1

    const/4 v10, 0x0

    const v0, 0x7f0c0942

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->l:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->f:Landroid/widget/EditText;

    new-instance v0, Lcom/waiqin365/lightapp/product/ad;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->h()D

    move-result-wide v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->f:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->mContext:Landroid/content/Context;

    const v5, 0x7f0805ca

    invoke-virtual {v1, v5}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-array v5, v8, [Ljava/lang/Object;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->c()I

    move-result v7

    invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v7

    aput-object v7, v5, v10

    invoke-static {v1, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/product/ad;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;DLandroid/widget/EditText;Ljava/lang/String;)V

    invoke-virtual {v6, v0}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->k:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    new-instance v0, Lcom/waiqin365/lightapp/product/ae;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->h()D

    move-result-wide v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->k:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->mContext:Landroid/content/Context;

    const v5, 0x7f0805c7

    invoke-virtual {v1, v5}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-array v5, v8, [Ljava/lang/Object;

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->i()D

    move-result-wide v8

    invoke-virtual {v7, v8, v9}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string/jumbo v8, ""

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    aput-object v7, v5, v10

    invoke-static {v1, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/product/ae;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;DLandroid/widget/EditText;Ljava/lang/String;)V

    invoke-virtual {v6, v0}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->addTextChangedListener(Landroid/text/TextWatcher;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    new-instance v1, Lcom/waiqin365/lightapp/product/af;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/af;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->setDataListener(Lcom/waiqin365/lightapp/product/view/e;)V

    new-instance v0, Lcom/waiqin365/lightapp/product/ag;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v2

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v4

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v5, 0x7f0805c6

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v6

    invoke-virtual {v1, v6, v7}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/product/ag;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;DLandroid/widget/EditText;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->o:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Landroid/text/TextWatcher;)V

    return-void
.end method

.method private e()V
    .locals 6

    const-wide/16 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->f()Ljava/lang/Double;

    move-result-object v0

    invoke-static {v0, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v2

    invoke-static {v2, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    mul-double/2addr v0, v2

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->k:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v0, v1}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->f()I

    move-result v1

    const/4 v3, 0x0

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method private f()V
    .locals 6

    const/4 v1, 0x0

    const-wide/16 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v0

    invoke-static {v0, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    cmpg-double v0, v2, v4

    if-gez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->mContext:Landroid/content/Context;

    const v2, 0x7f0805cd

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :goto_0
    return-void

    :cond_0
    cmpl-double v0, v2, v4

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->mContext:Landroid/content/Context;

    const v2, 0x7f0805ce

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->f:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->mContext:Landroid/content/Context;

    const v2, 0x7f0805cf

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->f:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "0"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_3
    invoke-static {v0, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/jxccache/g;->a(Ljava/lang/Double;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->j:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/jxccache/g;->d(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->a(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    if-eqz v0, :cond_5

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->u:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->u:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->u:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->u:Ljava/util/List;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-interface {v0, v1, v2}, Ljava/util/List;->add(ILjava/lang/Object;)V

    :cond_4
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->u:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_6
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->g()V

    goto/16 :goto_0
.end method

.method private g()V
    .locals 4

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->t:Z

    if-eqz v0, :cond_0

    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v2, "selectedList"

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->u:Ljava/util/List;

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/4 v0, -0x1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->finish()V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "key"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->u:Ljava/util/List;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    const-class v2, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v2

    const-string/jumbo v3, "has_data"

    invoke-virtual {v2, v3, v0, v1}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/util/List;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->back()V

    goto :goto_0
.end method


# virtual methods
.method public onBackPressed()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onBackPressed()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->finish()V

    goto :goto_0

    :sswitch_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->f()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c08ab -> :sswitch_1
        0x7f0c0942 -> :sswitch_0
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f030196

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isModify"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->t:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "pdCache"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "selectedList"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "selectedList"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->u:Ljava/util/List;

    :goto_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->c()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->a(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    if-eqz v0, :cond_0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->s:Lcom/waiqin365/base/db/jxccache/g;

    :cond_0
    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->l:Landroid/widget/TextView;

    const v1, 0x7f080716

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->a()V

    return-void

    :cond_2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->u:Ljava/util/List;

    goto :goto_0
.end method
